package com.itheima.stock.service;

import com.itheima.stock.dto.LoginDTO;
import com.itheima.stock.vo.CaptchaVO;
import com.itheima.stock.vo.LoginVO;


public interface UserService {

    /**
     * 获取验证码
     *
     * @return CaptchaVO
     */
    CaptchaVO generateCaptcha();


    LoginVO login(LoginDTO dto);
}